package com.wl.dzt.sys.controller.action;

import com.wl.dzt.sys.controller.param.Param;
import com.wl.dzt.sys.controller.result.ActionResult;
import org.springframework.stereotype.Component;

/**
 * @author wl_code@163.com
 * @version 1.0
 * @date 2018/7/5/005
 * @description 转发动作
 * 用于指定请求转发动作
 * 根据请求参数转发请求到下个地址
 */
@Component
public class UrlFlowerAction implements Action {

    public ActionResult doAction(Param param) {
        ActionResult actionResult = new ActionResult();
        actionResult.setUrl(param.getUrl());
        return actionResult;
    }

}
